package io.jnet.server.api;

import java.nio.channels.AsynchronousSocketChannel;
import io.jnet.server.util.ServerChannelContextConfig;

public interface ServerChannelContextBuilder
{
    /**
     * 当客户端连接建立的时候触发
     */
    public ServerChannelContextConfig onConnect(AsynchronousSocketChannel socketChannel);
    
    public void afterContextBuild(ServerChannelContext serverChannelContext);
}
